﻿using PersistentObject.Common.Attributes;
using PersistentObject.SqlServer2012;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PersistentObject.StudentTest.Entities
{
    /// <summary>
    /// Represent a teacher who teaches a specific course in a specific trimester
    /// </summary>
    public class Teacher : IdentityKeyEntity
    {
        [ForeignKey]
        public Trimester Trimester { get; set; }
        [ForeignKey]
        public Course Course { get; set; }
        [ForeignKey]
        public Tutor Tutor { get; set; }
    }
}
